package com.yunxun.coinmessage.entity;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class Coin {

    private Integer cid;
    @NotEmpty(message = "币种名称不能为空")
    private  String cname;
    private  String ccode;
    private  String curl;
    private  String cnotice_place;
    private  String cintro;
    private  Integer status;
    private String english_name;
    private int weight;
    public int getWeight() {
        return weight;
    }

    public Coin(){
        ccode="";
        cintro="";
        status=1;
        english_name="";
        curl="";
        cnotice_place="";
    }
    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getEnglish_name() {
        return english_name;
    }

    public void setEnglish_name(String english_name) {
        this.english_name = english_name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }


    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCcode() {
        return ccode;
    }

    public void setCcode(String ccode) {
        this.ccode = ccode;
    }

    public String getCurl() {
        return curl;
    }

    public void setCurl(String curl) {
        this.curl = curl;
    }

    public String getCnotice_place() {
        return cnotice_place;
    }

    public void setCnotice_place(String cnotice_place) {
        this.cnotice_place = cnotice_place;
    }

    public String getCintro() {
        return cintro;
    }

    public void setCintro(String cintro) {
        this.cintro = cintro;
    }
}
